<include file="application/admin/view/public/left.html"/>
 <div id="dcMain">
   <!-- 当前位置 -->
<div id="urHere">管理中心<b>></b><strong>会员账户管理</strong> </div>   <div class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
  
    <script type="text/javascript">
     
     $(function(){ $(".idTabs").idTabs(); });
     
    </script>
    <div class="idTabs">
      <div class="items">
       <form action="{:U('Member/saveZhangHu')}" method="post" enctype="multipart/form-data">
        <div id="mail">
        <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">

        <tr>
           <th width="131">名称</th>
           <th>内容</th>
        </tr>
        <tr>
          <td align="right">用户名 ：</td>
          <td>
            <input type="text" name="name" size="80" class="inpMain" />
          </td>
        </tr>

        <tr>
          <td align="right">账户  ：</td>
          <td>
            <foreach name="account_type" item="va">
             <input type="radio" name="type" size="80" value="{$va.id}"/>{$va.name}
             </foreach>
          </td>
        </tr>
        
        <tr>
          <td align="right">金额  ：</td>
          <td>
            <input type="text" name="money" size="80" class="inpMain" />
          </td>
        </tr>
        </table>
        </div>
        <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
         <tr>
          <td width="131"></td>
          <td>
           <input name="submit" class="btn" type="submit" value="提交" />
          </td>
         </tr>
        </table>
        </form>
      </div>
      <div style="margin-top:20px;margin-bottom:20px;">
        <form action="{:U('Member/zhanghu')}" method="post">
          手机号:<input name="email" type="text" placeholder="关键字" class="inpMain" value="" size="20" />
          会员ID:<input name="member_id" type="text" placeholder="ID" class="inpMain" value="" size="20" />
          推荐人:<input name="tuijian" type="text" placeholder="推荐人" class="inpMain" value="" size="20" />
          真实姓名:<input name="name" type="text" placeholder="姓名" class="inpMain" value="" size="20" />
          明细查找: <select name="class">
                    <option value="account_type_1" <if condition="$status eq 0 ">selected</if>>注册积分</option>
                    <option value="account_type_2" <if condition="$status eq 1 ">selected</if>>提现积分</option>
                </select>
                <input name="num" type="text" placeholder="金额" class="inpMain" value="" size="20" />
          <input name="submit" class="btnGray" type="submit" value="搜索" />
          </form> 
      </div>
      <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
       
      <tr>
        
        <foreach name="account_type" item="va">
          <th align="center">{$va.name}总额</th>
        </foreach>
      </tr>

      <tr>
        <foreach name="all" item="va">
            <td align="center">{$va}</td>
          </foreach>
      </tr>

    <tr align="center">
        <th>用户ID</th>
        <th>真实姓名</th>
        <th>昵称</th>
        <th>手机号</th>
        <th>推荐人</th>

        <foreach name="account_type" item="va">
             <th>{$va.name}</th>
        </foreach>
    </tr>
     <volist name="member" id="vo" empty="$empty">
      <tr align="center">
          <td>{$vo['userId']}</td>
          <td>{$vo['name']}</td>
          <td>{$vo['nick']}</td>
          <td>{$vo['loginName']}</td>
          <td>{$vo['tuiuser']}</td>
          <foreach name="vo.member_account" item="vm">
             <td>{$vm}</td>
          </foreach>
      </tr>
      </volist>
     
    </table>
     {$page}
    </div>
   </div>
 </div>
 <div class="clear"></div>
<include file="application/admin/view/public/foot.html"/><!-- dcFooter 结束 -->
<div class="clear"></div> </div>
</body>
</html>